package com.studytest.yiqilaidati.modle;

public class User {
    private int id;
    private int nid;
    private String userName;
    private String password;
    private String desp;

    public User() {
    }

    public User(int id, int nid, String userName, String password, String desp) {
        this.id = id;
        this.nid = nid;
        this.userName = userName;
        this.password = password;
        this.desp = desp;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNid() {
        return nid;
    }

    public void setNid(int nid) {
        this.nid = nid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", nid=" + nid +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", desp='" + desp + '\'' +
                '}';
    }
}
